import { createApp } from 'vue'
import './style.css'
import router from './router/index.ts'
import App from './App.vue'
import { createPinia } from 'pinia'
import { persisted } from './plugins/persisted.ts'
// 创建pinia实例
const pinia = createPinia()

pinia.use(persisted)
// 挂载到根实例上
const app = createApp(App)
app.use(pinia)
app.use(router)
app.mount('#app')
